package com.neusoft.my12306.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 段静迪
 * @since 2023-07-03
 */
public class Passenger implements Serializable {

    private static final long serialVersionUID = 1L;

    private String pid;

    private String pnm;

    private String country;

    @TableId(value = "passid", type = IdType.AUTO)
    private Integer passid;

    private String idtype;

    private String examine;

    private String phone;

    private String email;

    private String password;

    private String discounttype;


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }


    @TableField(exist = false)
    private   String token;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }
    public String getPnm() {
        return pnm;
    }

    public void setPnm(String pnm) {
        this.pnm = pnm;
    }
    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }
    public Integer getPassid() {
        return passid;
    }

    public void setPassid(Integer passid) {
        this.passid = passid;
    }
    public String getIdtype() {
        return idtype;
    }

    public void setIdtype(String idtype) {
        this.idtype = idtype;
    }
    public String getExamine() {
        return examine;
    }

    public void setExamine(String examine) {
        this.examine = examine;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getDiscounttype() {
        return discounttype;
    }

    public void setDiscounttype(String discounttype) {
        this.discounttype = discounttype;
    }

    @Override
    public String toString() {
        return "Passenger{" +
            "pid=" + pid +
            ", pnm=" + pnm +
            ", country=" + country +
            ", passid=" + passid +
            ", idtype=" + idtype +
            ", examine=" + examine +
            ", phone=" + phone +
            ", email=" + email +
            ", password=" + password +
            ", discounttype=" + discounttype +
        "}";
    }
}
